class CreateMessageRecipients < ActiveRecord::Migration
  def self.up
    create_table :message_recipients do |t|
      t.references :user
      t.references :message
      t.string :recipient_type
      t.boolean :read_flag, :default => false
      t.boolean :delete_flag, :default => false

      t.timestamps
    end
  end

  def self.down
    drop_table :message_recipients
  end
end
